package net.youball.entity;

/**
 * BallFriend entity. @author MyEclipse Persistence Tools
 */

public class BallFriend extends  BaseEntity implements
		java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 */
	
	private Integer friendId;
	private Integer friendUserId;
	private Integer friendToUserId;
	private long friendTime;
	private long friendUpdateTime;
	private Integer friendType;
	private Integer state;

	// Constructors

	/** default constructor */
	public BallFriend() {
	}

	/** full constructor */
	public BallFriend(Integer friendUserId, Integer friendToUserId,
			long friendTime, long friendUpdateTime, Integer friendType,
			Integer state) {
		this.friendUserId = friendUserId;
		this.friendToUserId = friendToUserId;
		this.friendTime = friendTime;
		this.friendUpdateTime = friendUpdateTime;
		this.friendType = friendType;
		this.state = state;
	}

	// Property accessors

	public Integer getFriendId() {
		return this.friendId;
	}

	public void setFriendId(Integer friendId) {
		this.friendId = friendId;
	}

	public Integer getFriendUserId() {
		return this.friendUserId;
	}

	public void setFriendUserId(Integer friendUserId) {
		this.friendUserId = friendUserId;
	}

	public Integer getFriendToUserId() {
		return this.friendToUserId;
	}

	public void setFriendToUserId(Integer friendToUserId) {
		this.friendToUserId = friendToUserId;
	}

	public long getFriendTime() {
		return this.friendTime;
	}

	public void setFriendTime(long friendTime) {
		this.friendTime = friendTime;
	}

	public long getFriendUpdateTime() {
		return this.friendUpdateTime;
	}

	public void setFriendUpdateTime(long friendUpdateTime) {
		this.friendUpdateTime = friendUpdateTime;
	}

	public Integer getFriendType() {
		return this.friendType;
	}

	public void setFriendType(Integer friendType) {
		this.friendType = friendType;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "BallFriend [friendId=" + friendId + ", friendTime="
				+ friendTime + ", friendToUserId=" + friendToUserId
				+ ", friendType=" + friendType + ", friendUpdateTime="
				+ friendUpdateTime + ", friendUserId=" + friendUserId
				+ ", state=" + state + "]";
	}
	
}